.login {
    margin: 6em auto;
    .container {
        width: 80%;

        .title {
            position: relative;
            width: 6.5em;
            text-align-last: justify;
            margin: 0 auto;
            margin-bottom: 2em;

            p:nth-of-type(1) {
                color: #000;
                font-weight: bold;
                font-size: 1em;
            }

            p:nth-of-type(2) {
                color: #3d3d3d;
                font-size: .5em;
            }

            &:before {
                content: "";
                display: inline-block;
                height: 1px;
                width: 100%;
                border-bottom: 1px solid #9ac1c0;
                position: absolute;
                left: -120%;
                bottom: 1em;
            }

            &::after {
                content: "";
                display: inline-block;
                height: 1px;
                width: 100%;
                border-bottom: 1px solid #9ac1c0;
                position: absolute;
                right: -120%;
                bottom: 1em;
            }
        }

        .loginfo {
            width: 80%;
            display: flex;
            margin: 0 auto;

            .left {
                flex-basis: 50%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                .linkbtn {
                    display: flex;
                    justify-content: center;

                    .btn {
                        font-weight: 600;
                        font-size: 1em;
                        padding: 2px 1.5em;
                        margin-right: 1em;
                        border-radius: 3px;
                    }

                    .btn-default {
                        background-color: #eeeeee;
                        border: 0px;

                        &:hover {
                            background: #b3d9ff;
                        }
                    }
                }

                form {
                    flex: .9;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;

                    span {
                        display: inline-block;
                        width: 4em;
                        font-size: .8em;
                        text-align: left;
                    }
                    // 用户名
                    .username {
                        input {
                            width: 80%;
                            background: #ecf5ff;
                            border: 0px;
                            box-shadow: -1px -1px 1px #ccc;
                        }
                    }
                    // 密码
                    .password {
                        input {
                            width: 80%;
                            background: #ecf5ff;
                            border: 0px;
                            box-shadow: -1px -1px 1px #ccc;
                        }
                    }
                    // 验证码
                    .captcha {
                        display: flex;
                        align-items: center;

                        input {
                            width: 6em;
                            background: #ecf5ff;
                            border: 0px;
                            box-shadow: -1px -1px 1px #ccc;
                        }
                    }
                    // 验证码图像
                    canvas {
                        width: 40%;
                        height: 22px;
                    }
                    // 有效期
                    .period {
                        display: flex;
                        justify-content: space-between;
                        width: 80%;
                        .perlabel {
                            font-size: .8em;
                            line-height: .8em;
                            margin-bottom: 0;
                            font-weight: normal;
                        }

                        input[type=radio] {
                            margin: 0;
                        }
                    }
                    // 按钮
                    .btn{
                        margin: 0 auto;
                        width: 40%;
                        font-weight: 600;
                        color: #eef6ff;
                        background: #b3d9ff;
                        font-size: 1em;
                        padding: 2px 1.5em;
                        border-radius: 3px;
                    }
                }
            }

            .right {
                flex-basis: 50%;
                position: relative;

                span:nth-of-type(1) {
                    color: #242424;
                    position: absolute;
                    left: 3em;
                    top: 1em;
                    font-size: .8em;
                }

                span:nth-of-type(2) {
                    color: #242424;
                    position: absolute;
                    left: 5em;
                    top: 2.2em;
                    font-size: .8em;
                }
            }

            @media screen and (max-width:768px){
                .left{
                    flex-basis: 100%;
                    div{
                        margin-bottom: .8em;
                    }
                }
                .right{
                    display: none;
                }
            }
        }
    }

    @media screen and (max-width:974px) {
        .container {
            width: 90%;
        }
    }

    @media screen and (max-width:866px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }

    @media screen and (max-width:768px) {
        .container {
            width: 100%;
            padding: 0;
        }
    }
}